package com.changgou.goods.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 分类品牌信息
 *
 * @author gaofeng
 * @date 2025/4/19 22:50
 */
@Data
@ApiModel(description = "CategoryBrand", value = "CategoryBrand")
@Table(name = "tb_category_brand")
public class CategoryBrand implements Serializable {
    /**
     * 分类ID
     */
    @ApiModelProperty(value = "分类ID")
    @Id
    @Column(name = "category_id")
    private Integer categoryId;

    /**
     * 品牌ID
     */
    @ApiModelProperty(value = "品牌ID")
    @Id
    @Column(name = "brand_id")
    private Integer brandId;
}
